<!doctype html>
<html>
<head>
    <title>DGPT4711 asm 2</title>
    <style>
    .container {
        display: flex;
        flex-wrap: wrap; 
        justify-content: space-between; 
        margin-bottom: 50px; 
    }
    .item {
        flex: 1 0 calc(33.333% - 5%);
        margin: 2.5%; 
        box-sizing: border-box; 
        /* border: 1px #ffaaff; */
    }
    .item img {
        max-width: 100%; 
        height: auto; 
    }
    .home-button {
        position: fixed; 
        bottom: 20px; 
        right: 20px; 
        background-color: blue; 
        color: white; 
        text-decoration: none; 
        padding: 10px 20px; 
        border-radius: 5px; 
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); 
    }
    .home-button:hover {
        background-color: darkblue; 
    }
</style>
</head>
<body>
    <h1>Character list</h1>
    <div class="container">
        {records}
        <div class="item">
            <p><a href="/travel/showme/{id}"><img src="/image/{img}" style{height="100px";}/></a></p>
            <p><a href="/travel/showme/{id}">{name}</a></p>
            <p>{description}</p>
        </div>
        {/records}
    </div>
    <a href="/" class="home-button">Home</a>
</body>
</html>